package gatperdut.chato.core.interpreter.grammar.comminfo;

import gatperdut.chato.core.interpreter.grammar.comminfo.indexedword.IndexedWord;

public class LookInfo extends CommandInfo {

    public LookInfo( CommandType commandType ) {
        super( commandType );
    }

    private IndexedWord what = null;
    private IndexedWord who = null; // only used in look_worn.

    private boolean ground = false;

    public IndexedWord getWhat() {
        return what;
    }

    public void setWhat( IndexedWord what ) {
        this.what = what;
    }

    public IndexedWord getWho() { // only used in look_worn.
        return who;
    }

    public void setWho( IndexedWord who ) { // only used in look_worn.
        this.who = who;
    }

    public boolean isGround() {
        return ground;
    }

    public void setGround( boolean ground ) {
        this.ground = ground;
    }

}
